package com.example.mapper;

import com.example.dto.DemoDTO;
import com.example.dto.TypechoCommentsDTO;
import com.example.entity.TypechoComments;
import java.util.List;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Mapper;

@Mapper
@CacheNamespace
public interface TypechoCommentsMapper {
    int deleteByPrimaryKey(Integer coid);

    int insert(TypechoComments record);

    int insertSelective(TypechoComments record);

    TypechoComments selectByPrimaryKey(Integer coid);

    int updateByPrimaryKeySelective(TypechoComments record);

    int updateByPrimaryKeyWithBLOBs(TypechoComments record);

    int updateByPrimaryKey(TypechoComments record);

    List<TypechoCommentsDTO> findListByParams(TypechoCommentsDTO typechoCommentsDTO);
}